package com.android.aqq.bean;

import java.io.Serializable;

import edu.tsinghua.lumaqq.qq.beans.Member;
import edu.tsinghua.lumaqq.qq.beans.QQFriend;

public class QQGroupMember extends QQBuddy implements Serializable{
	/**
	 * 
	 */
	private static final long serialVersionUID = 7412577131129981269L;
	private int organization;
	private byte role;

	
	public QQGroupMember(Member member) {
		super(member.qq);
//		this.qq = member.qq;
		this.organization = member.organization;
		this.role = member.role;
	}
	
	public void setMemberInfo(QQFriend friend) {
		this.head = friend.head;
		this.age = friend.age;
		this.gender = friend.gender;
		this.nick = friend.nick;
		this.userFlag = friend.userFlag;
	}

	public int getOrganization() {
		return organization;
	}

	public void setOrganization(int organization) {
		this.organization = organization;
	}

	public byte getRole() {
		return role;
	}

	public void setRole(byte role) {
		this.role = role;
	}
	
}
